package com.zml.control.entity;
import java.util.List;

public class OcMqttEntity {

    private String device_id;
    private List<Shadow> shadow;
    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }
    public String getDevice_id() {
        return device_id;
    }

    public void setShadow(List<Shadow> shadow) {
        this.shadow = shadow;
    }
    public List<Shadow> getShadow() {
        return shadow;
    }

    public static class Desired {

        private String properties;
        private String event_time;
        public void setProperties(String properties) {
            this.properties = properties;
        }
        public String getProperties() {
            return properties;
        }

        public void setEvent_time(String event_time) {
            this.event_time = event_time;
        }
        public String getEvent_time() {
            return event_time;
        }

    }

    public static class Properties {

        private float InVoltage;
        private float OutVoltage;
        private float InCurrent;
        public void setInVoltage(float InVoltage) {
            this.InVoltage = InVoltage;
        }
        public float getInVoltage() {
            return InVoltage;
        }

        public void setOutVoltage(float OutVoltage) {
            this.OutVoltage = OutVoltage;
        }
        public float getOutVoltage() {
            return OutVoltage;
        }

        public void setInCurrent(float InCurrent) {
            this.InCurrent = InCurrent;
        }
        public float getInCurrent() {
            return InCurrent;
        }

    }

    public static class Reported {

        private Properties properties;
        private String event_time;
        public void setProperties(Properties properties) {
            this.properties = properties;
        }
        public Properties getProperties() {
            return properties;
        }

        public void setEvent_time(String event_time) {
            this.event_time = event_time;
        }
        public String getEvent_time() {
            return event_time;
        }

    }

    public static class Shadow {

        private String service_id;
        private Desired desired;
        private Reported reported;
        private int version;
        public void setService_id(String service_id) {
            this.service_id = service_id;
        }
        public String getService_id() {
            return service_id;
        }

        public void setDesired(Desired desired) {
            this.desired = desired;
        }
        public Desired getDesired() {
            return desired;
        }

        public void setReported(Reported reported) {
            this.reported = reported;
        }
        public Reported getReported() {
            return reported;
        }

        public void setVersion(int version) {
            this.version = version;
        }
        public int getVersion() {
            return version;
        }

    }

}